package com.example.cloudmaps;


public class Friend {
	/*
	 * Private members
	 */
	private long id;
	private String username;
	private Double latitude;
	private Double longitude;
	
	/*
	 * Generated getters and setters.
	 */
	
	public Friend(){
		id = 0;
		username = "";
		latitude = 0.0;
		longitude = 0.0;
	}
	
	public Friend(long id,String username,Double latitude, Double longitude){
		this.id = id;
		this.username = username;
		this.latitude = latitude;
		this.longitude = longitude;
	}
	
	public long getId() {
		return id;
	}
	public void setId(long id) {
		this.id = id;
	}
	public String getUsername() {
		return username;
	}
	public void setUsername(String username) {
		this.username = username;
	}
	public Double getLatitude() {
		return latitude;
	}
	public void setLatitude(Double latitude) {
		this.latitude = latitude;
	}
	public Double getLongitude() {
		return longitude;
	}
	public void setLogitude(Double longitude) {
		this.longitude = longitude;
	}
	/*
	 * ToString, used by adapters
	 */
	@Override
	public String toString(){
		return username;
	}
}